<template>
  <div class="bc-button-group">
    <slot></slot>
  </div>
</template>

<script>
  export default {
    name: 'BcButtonGroup'
  };
</script>

<style scoped>
.bc-button-group {
  position: relative;
  display: inline-block;
  vertical-align: middle;
}
.bc-button-group>.bc-button {
  float: left;
}
.bc-button-group>.bc-button:first-child:not(:last-child) {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.bc-button-group>.bc-button:last-child:not(:first-child) {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
.bc-button-group>.bc-button:not(:first-child):not(:last-child) {
  border-radius: 0;
}
.bc-button-group>.bc-button:not(:last-child) {
  margin-right: -1px;
}
</style>